﻿using ExcelSystem.Model;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelSystem.ViewModelsClass
{
    public class OrderInfo : BindableBase
    {
        private string orderNo;

        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo
        {
            get { return orderNo; }
            set { SetProperty(ref orderNo, value); }
        }

        /// <summary>
        /// 合同号
        /// </summary>
        public string ContractNo { get; set; }

        private DateTime schedulingDate;

        /// <summary>
        /// 排产日期
        /// </summary>
        public DateTime SchedulingDate
        {
            get { return schedulingDate; }
            set { SetProperty(ref schedulingDate, value); }
        }


        private DateTime deliveryDate;

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryDate
        {
            get { return deliveryDate; }
            set { SetProperty(ref deliveryDate, value); }
        }

        private List<Material> materials;

        /// <summary>
        /// 物料实体
        /// </summary>
        public List<Material> Materials
        {
            get { return materials; }
            set { SetProperty(ref materials, value); }
        }
    }
}
